package cardgame;

import java.sql.SQLOutput;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86187
 * Date: 2022-07-25
 * Time: 14:06
 */

public class CardTest {

    public static void main(String[] args) {

        CardDemo cardDemo = new CardDemo();
        List<Card> ret = cardDemo.buyDestCard();
        System.out.println(ret);

        //洗牌
        System.out.println("================洗牌后==============");
        cardDemo.shuffleCard(ret);
        System.out.println(ret);

        System.out.println("================揭牌===============");
        List<List<Card>> ret2 = cardDemo.test(ret);
        for (int i = 0; i < ret2.size(); i++) {
            System.out.println("第"+(i+1)+"个人的牌"+ret2.get(i));
        }
        System.out.println("==============剩余的牌===============");
        System.out.println(ret);
    }
}
